<?php

namespace Users\Login;

class EmailPasswordFormConfig extends \Pinenut\Config {
	static $config = [ 
				'htmlOptions' => array (
						'method' => 'POST',
				),
				'elements' => array (
						'email' => array (
								'type' => 'text',
								'htmlOptions' => array (
										'placeholder' => 'Email' 
								),
								'filters' => 'trim',
								'validators' => 'notEmpty' 
						),
						'password' => array (
								'type' => 'text',
								'htmlOptions' => array (
										'placeholder' => 'Пароль' 
								),
								'validators' => 'notEmpty'
								
						),
						'submit' => array (
								'value' => 'Войти',
								'type' => 'submit' 
						) 
				) 
		];
}


